using System.Collections.Generic;

namespace B.S.Databasic.Api.Read.Application.Command.Role
{
    public class RoleDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        public List<string> PermissionNames { get; set; }
        /// <summary>
        /// 权限外键
        /// </summary>
        public List<long> PermissionIds { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 启用禁用状态
        /// </summary>
        public bool IsState { get; set; }
    }
}